package com.zhuiyun.educations.api.member.service;

import com.zhuiyun.educations.api.member.entity.Member;
import com.zhuiyun.educations.common.response.CommonResult;
import com.zhuiyun.educations.util.pageUtil.PageRequest;

import java.util.List;

/**
 * @ClassName MemberVoService
 * @Description TODO 会员类型管理服务类
 * @Author ys
 * @Date 2023/6/16 8:28
 **/
public interface MemberService {
    /**
     * @Author ys
     * @Description TODO 分页查询
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult getMember(PageRequest pageRequest);
    /**
     * @Author ys
     * @Description TODO 新增
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult addMember(Member member);
    /**
     * @Author ys
     * @Description TODO 修改
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult updateMember(Member member);
    /**
     * @Author ys
     * @Description TODO 修改状态
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult updatestate(Member member);
    /**
     * @Author ys
     * @Description TODO 逻辑删除
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult deleteMemberById(int id);
    /**
     * @Author ys
     * @Description TODO 批量逻辑删除
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult deleteMemberByIds(List<String> ids);

}
